<!--
 * @Author: your name
 * @Date: 2021-04-01 21:56:37
 * @LastEditTime: 2021-04-01 22:09:36
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \jQuery\06 -ajax.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>ajax</title>
  <script src="./jquery-3.6.0.min.js"></script>
  <script>
    $(function() {
      $('.content').load('./demo_test.txt', function(val) {
        console.log(val);
      })
    })
  </script>
</head>
<body>
  <div class="content"></div>
</body>
</html>